package com.xszx.dao;

import com.xszx.entity.StartAccount;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface StartAccountDao extends JpaRepository<StartAccount,Long>, JpaSpecificationExecutor<StartAccount> {

    public StartAccount findByAccount(String account);

    public StartAccount findByAccountAndAccountType(String account,String accountType);
}
